package toman;

/**
 * This annotation is used for instantiating TO either from a map or a bean raw data (provided by a query engine).
 * It says that the value for the annotated field or setter is taken from a map or a bean. The value of this property
 * contains the name of the key or the property on the raw data (map or bean). If not specified, the name of
 * the annotated field or setter (without the 'set') is taken.
 * <p>
 * User: zslajchrt
 * Date: 29.4.11
 * Time: 17:49
 */
@java.lang.annotation.Target({java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD})
@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
public @interface Prop {
    String value() default "";
}
